#!/usr/bin/python
# -*- coding:UTF8 -*-


import requests

#发送get请求

r = requests.get("http://47.100.175.62:3000/api/v1/topics")

print(r.status_code)
print(type(r.text), r.text)
print(type(r.json()), r.json())

Jdata = r.text
print(Jdata[-3:-1])

jsonData = r.json()
print(jsonData["success"])
# print(jsonData["data"])


